The HTTP service used for SEXPR based RPC calls currently serializes all
authorEwan Mellor <ewan@xensource.com>
Thu, 7 Dec 2006 12:07:53 +0000 (12:07 +0000)
committerEwan Mellor <ewan@xensource.com>
Thu, 7 Dec 2006 12:07:53 +0000 (12:07 +0000)
commit09ddbb1ce580051ada4dd96c6667fbd3e6f10499
treec1c9ec5c1a04d004aeaca02f5bb296a59e1f9b24
parent0bbc8c5421bea9062a7c8db102b635d24984a612
The HTTP service used for SEXPR based RPC calls currently serializes all
incoming client requests. Since some requests can take non-trivial time
blocking out other clients in this way has bad consequences. The attached
patch makes XenD spawn a new thread to handle each incoming HTTP request.
This same approach is already taken in the XML-RPC service in XenD so I
don't anticipate any multi-thread issues (at least none which don't already
exist).

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
tools/python/xen/web/httpserver.py